<script>
    seajs.use(["apps/document/detail"],function(page){
        page.init("${pageContext.request.contextPath}", "page-wrapper", {
            id:"${document.id}",
            directory:"${document.fileConvert.directory}",
            result:"${document.fileConvert.result}",
            docName:"${document.docName}",
            path:"${document.attachment}",
            admin:"${param['admin']}"
        })
    });
</script>